#include "BulletSoftBody/btDeformableCorotatedForce.h"
#ifdef __cplusplus
extern "C" {
#endif
btDeformableCorotatedForce* bullet_NewbtDeformableCorotatedForce(){
	btDeformableCorotatedForce* wrap_out = new btDeformableCorotatedForce();
	return wrap_out;
}

btDeformableCorotatedForce* bullet_NewbtDeformableCorotatedForce1(double mu,double lambda){
	btScalar c_arg_mu=mu;
	btScalar c_arg_lambda=lambda;
	btDeformableCorotatedForce* wrap_out = new btDeformableCorotatedForce(c_arg_mu,c_arg_lambda);
	return wrap_out;
}

void bullet_btDeformableCorotatedForce_firstPiola(btDeformableCorotatedForce* c_this,btMatrix3x3* F,btMatrix3x3* P){
	btMatrix3x3 const& c_arg_F=(btMatrix3x3 const&)(*F);
	btMatrix3x3& c_arg_P=(btMatrix3x3&)(*P);
	c_this->firstPiola(c_arg_F,c_arg_P);
}

double bullet_btDeformableCorotatedForce_GetFieldOfM_lambda(btDeformableCorotatedForce* c_this){
	return (double)(c_this->m_lambda);
}

double bullet_btDeformableCorotatedForce_GetFieldOfM_mu(btDeformableCorotatedForce* c_this){
	return (double)(c_this->m_mu);
}

#ifdef __cplusplus
}
#endif
